package com.luge.model.download;

import com.luge.base.Base;

public class ImageManager {
	
	public static String getFilePath(String fileDir, String imageUrl) {
		String fileName = new StringBuilder(fileDir).append(
				imageUrl.substring(imageUrl.lastIndexOf("/") + 1,
						imageUrl.length())).toString();
		return fileName.replace(Base.IMAGE_JPG, "").replace(Base.IMAGE_PNG, "");
	}
}
